import request from '@/utils/request'

export function getsellticket(query) {
  return request({
    url: '/shoupiao/sellTicketNumber',
    method: 'get',
    params: query
  })
}

export function gettwoticketnumber(query) {
  return request({
    url: '/shoupiao/twoTicketNumber',
    method: 'get',
    params: query
  })
}

export function getDestinationList(query) {
  return request({
    url: '/shoupiao/destinationList',
    method: 'get',
    params: query
  })
}

export function getDestinationInfo(query) {
  return request({
    url: '/shoupiao/getDestinationInfo',
    method: 'get',
    params: query
  })
}

export function updateQsphAdd1(query) {
  return request({
    url: '/shoupiao/qsphAdd1',
    method: 'post',
    params: query
  })
}

export function insertTicketInfo(data) {
  return request({
    url: '/shoupiao/insertTicketInfo',
    method: 'post',
    data
  })
}
